package com.apkplug.test.lib;

/**
 * Created by bshao on 10/29/15.
 */
public interface LoginManager {
    interface LoginCallback {
        void onSuccess(String token);
        void onFail(int error);
    }

    boolean isLogin();
    void loginAsync(String username, String password, LoginCallback callback);
}
